package com.lhp.demo.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import com.lhp.demo.service.GetDcService;

@RestController
public class GetDCController {
    
	@Autowired
	GetDcService getDcClient;
    
    @GetMapping("/getdc")
    public String getdc() {
        return getDcClient.addService();
    }
}
